package org.hard.model.create.prototype;

/**
 * @author: 王林博
 * @date: 2023年02月11日 10:03
 */
public class Rectangle extends Shape{


    Integer width;
    Integer height;

    Rectangle(){

    }

    Rectangle(Rectangle rectangle){
        super(rectangle);
        this.width = rectangle.width;
        this.height = rectangle.height;
    }



    @Override
    public Shape clone() {
        return new Rectangle(this);
    }
}
